Package com.cisco.pt.ipc.sim.pdu.impl
Class NFTemplateImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.NFTemplateImpl
- All Implemented Interfaces:
IPCData,NFTemplate,Pdu,Signal
-
Field Summary
FieldsFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) intgetFieldType(String fieldName) intintvoidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetFieldCount(int fieldCount) voidsetLength(int length) voidsetRecord(FlowRecord record) voidsetTemplateId(int templateId) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
templateId
protected int templateId -
fieldCount
protected int fieldCount -
length
protected int length -
record
-
-
Constructor Details
-
NFTemplateImpl
public NFTemplateImpl()
-
-
Method Details
-
getTemplateId
public int getTemplateId()- Specified by:
getTemplateIdin interfaceNFTemplate- Returns:
- int Returns a int
-
setTemplateId
public void setTemplateId(int templateId) - Specified by:
setTemplateIdin interfaceNFTemplate- Parameters:
templateId- Takes in a parameter of templateId
-
getFieldCount
public int getFieldCount()- Specified by:
getFieldCountin interfaceNFTemplate- Returns:
- int Returns a int
-
setFieldCount
public void setFieldCount(int fieldCount) - Specified by:
setFieldCountin interfaceNFTemplate- Parameters:
fieldCount- Takes in a parameter of fieldCount
-
getLength
public int getLength()- Specified by:
getLengthin interfaceNFTemplate- Returns:
- int Returns a int
-
setLength
public void setLength(int length) - Specified by:
setLengthin interfaceNFTemplate- Parameters:
length- Takes in a parameter of length
-
getRecord
- Specified by:
getRecordin interfaceNFTemplate- Returns:
- FlowRecord Returns a FlowRecord
-
setRecord
- Specified by:
setRecordin interfaceNFTemplate- Parameters:
record- Takes in a parameter of record
-
getFieldType
- Overrides:
getFieldTypein classPduImpl
-
read
Reads this object from an EncodedBuffer of raw data -
pduRead
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classPduImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classPduImpl
-